﻿using System;
using System.Data.Linq.Mapping;

namespace IBBI.VOC {

    [Table(Name = "IBBI_PLAYER")]
    public class Player {

        [Column(Name = "ID", IsPrimaryKey = true, IsDbGenerated = true)]
        public int Id               { get; set; }

        [Column(Name = "NAME")]
        public string Name          { get; set; }

        [Column(Name = "GENDER")]
        public int    Gender        { get; set; }

        [Column(Name = "NATION")]
        public string Nation        { get; set; }

        [Column(Name = "HEIGHT")]
        public int    Height        { get; set; }

        [Column(Name = "MARITAL_STATUS")]
        public int    MaritalStatus { get; set; }

        [Column(Name = "PHONE_NUMBER")]
        public string PhoneNubmer   { get; set; }

        [Column(Name = "EMAIL_ADDRESS")]
        public string EmailAddress  { get; set; }

        [Column(Name = "OCCUPATION")]
        public string Occupation    { get; set; }

        [Column(Name = "UNIVERSITY")]
        public string University    { get; set; }

        [Column(Name = "EXPERIENCE")]
        public string Experience    { get; set; }

        [Column(Name = "IMAGE_PATH")]
        public string ImagePath     { get; set; }

        [Column(Name = "DEMO_PATH")]
        public string DemoPath      { get; set; }

        [Column(Name = "STATUS")]
        public int Status           { get; set; }

        [Column(Name = "DATE_BIRTH")]
        public DateTime DateBirth { get; set; }

        [Column(Name = "DATE_CREATED")]
        public DateTime DateCreated { get; set; }

        [Column(Name = "DATE_UPDATED")]
        public DateTime DateUpdated { get; set; }


    }

}